package com.zyw.teacher.login.mapper;

import com.zyw.teacher.login.entity.Role;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description:  角色资源访问类
 * @Author: zyw
 * @Date: 2018/12/12
 */
@Component
public interface UserRoleMapper {

    List<Role> queryByLoginName(String loginName);
}
